import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 人机设定
 * */
// 创建
export const workforcemanagementEmpMachineCreate = (data) => postRequest('/workforcemanagement/emp-machine/create', data);
// 批量绑定
export const workforcemanagementEmpMachineBatchCreate = (data) => postRequest('/workforcemanagement/emp-machine/batch-create', data);
// 获得分页
export const workforcemanagementEmpMachinePage = (params) => getRequest('/workforcemanagement/emp-machine/page', params);
// 获得
export const workforcemanagementEmpMachineGet = (params) => getRequest('/workforcemanagement/emp-machine/get', params);
// 更新
export const workforcemanagementEmpMachineUpdate = (data) => putRequest('/workforcemanagement/emp-machine/update', data);

// 删除
export const workforcemanagementEmpMachineDelete = (params) => deleteRequest('/workforcemanagement/emp-machine/delete', params);
// 导出 Excel
export const workforcemanagementEmpMachineExportExcel = (params) => getRequest('/workforcemanagement/emp-machine/export-excel', params);
